package org.xx.armory.objectparser;

import static org.apache.commons.lang3.StringUtils.trimToEmpty;

public final class NameObjectPair
        extends ParsedObject {
    private String name;
    private String object;

    public NameObjectPair(
            LineInfo lineInfo,
            String name,
            String object
    ) {
        super(lineInfo);
        this.name = trimToEmpty(name);
        this.object = trimToEmpty(object);
    }

    public final String getName() {
        return this.name;
    }

    public final String getObject() {
        return this.object;
    }
}
